export const consultApiSlice = apiSlice.injectEndpoints({
  endpoints: (builder) => ({
    // 删除订单
    deleteOrder: builder.mutation<HealthResponse<{ id: string }>, string>({
      query: (id) => ({
        url: `/patient/order/${id}`,
        method: "DELETE",
      }),
    }),
  }),
});

export const { useDeleteOrderMutation } = consultApiSlice;